//---------------------------------------------------------------------------

#ifndef ViewProdFormH
#define ViewProdFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <DBGrids.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <DB.hpp>
#include <DBCtrls.hpp>
#include <IBCustomDataSet.hpp>
#include <IBTable.hpp>
#include <Mask.hpp>
#include <Buttons.hpp>
#include <AppEvnts.hpp>
#include "class_TabCtrl.h"
#include <IBQuery.hpp>
//---------------------------------------------------------------------------
class TFVwProd : public TForm
{
__published:	// IDE-managed Components
        TPanel *Panel1;
        TDBGrid *DBGrid2;
        TPanel *Panel2;
        TPanel *Panel3;
        TDataSource *DataSource2;
        TBitBtn *BitBtn1;
        TPanel *Panel4;
        TComboBox *ComboBox1;
        TLabel *Label7;
        TApplicationEvents *ApplicationEvents1;
        TBitBtn *SpeedButton9;
        TEdit *Edit1;
        TLabel *Label3;
        TIBQuery *Det;
        TIBQuery *Ask;
        TIBStringField *DetART;
        TIBStringField *DetNAME;
        TIBBCDField *DetPRICE;
        TIBBCDField *DetOPTPRICE;
        TIBBCDField *DetSELLPRICE;
        TIntegerField *DetCNT;
        TIntegerField *DetIDPRODUCT;
        void __fastcall FormCreate(TObject *Sender);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
        void __fastcall ComboBox1Change(TObject *Sender);
        void __fastcall ApplicationEvents1Message(tagMSG &Msg,
          bool &Handled);
        void __fastcall ComboBox1KeyPress(TObject *Sender, char &Key);
        void __fastcall DBGrid2KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit1Enter(TObject *Sender);
        void __fastcall SpeedButton9Click(TObject *Sender);
        void __fastcall Edit1KeyPress(TObject *Sender, char &Key);
private:	// User declarations
        TTabCtrl *Disp;        
public:		// User declarations
        __fastcall TFVwProd(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFVwProd *FVwProd;
//---------------------------------------------------------------------------
#endif
